package com.ys.fmms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_node_list")
@Schema(name = "节点列表")
public class NodeList {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String mac;
    private String address;
    private String reportInterval;
    private String upLqi;
    private String downLqi;
    private Integer status;
    private Date updateTime;
    private String type;
    @TableField(exist = false)
    private String value;
    private Date nodeCreateTime;
    @Schema(description = "在线节点数")
    private Integer onlineNode;
    @Schema(description = "入网节点数")
    private Integer registerNode;
    private String picPath;
}
